<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>成交员中心</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <style>
        /* Mock up 样式 */
        .mock-up {
            position: relative;
            width: 375px;
            height: 812px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 40px;
            overflow: hidden;
        }
        /* 状态栏样式 */
        .status-bar {
            height: 44px;
            background: transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            color: #000;
            font-size: 14px;
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="mock-up">
        <!-- 状态栏 -->
        <div class="status-bar">
            <span>9:41</span>
            <div class="flex items-center space-x-1">
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8 8-8 8 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M2 22h20V2L2 22z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/>
                </svg>
            </div>
        </div>

        <!-- 主要内容 -->
        <div class="h-full pb-16 overflow-auto">
            <!-- 头部信息 -->
            <div class="bg-gradient-to-r from-blue-600 to-purple-600 text-white p-6">
                <div class="flex items-center mb-4">
                    <div class="w-16 h-16 bg-white bg-opacity-20 rounded-full flex items-center justify-center mr-4">
                        <span class="text-2xl font-bold">张</span>
                    </div>
                    <div>
                        <h1 class="text-xl font-bold">张小明</h1>
                        <p class="text-blue-100">新疆旅游专家 · 5年经验</p>
                        <div class="flex items-center mt-1">
                            <svg class="w-4 h-4 text-yellow-300 mr-1" fill="currentColor" viewBox="0 0 24 24">
                                <path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/>
                            </svg>
                            <span class="text-sm">4.9分 · 服务客户328人</span>
                        </div>
                    </div>
                </div>
                
                <!-- 业绩概览 -->
                <div class="bg-white bg-opacity-10 rounded-lg p-4">
                    <div class="flex justify-between items-center mb-2">
                        <span class="text-blue-100">本月业绩</span>
                        <span class="text-2xl font-bold">¥45,680</span>
                    </div>
                    <div class="flex justify-between text-sm text-blue-100">
                        <span>已结算：¥38,200</span>
                        <span>待结算：¥7,480</span>
                    </div>
                </div>
            </div>
            
            <!-- 数据统计 -->
            <div class="px-6 py-4">
                <div class="grid grid-cols-3 gap-4 mb-6">
                    <div class="text-center bg-orange-50 rounded-lg p-3">
                        <div class="text-xl font-bold text-orange-600">12</div>
                        <div class="text-sm text-gray-500">今日订单</div>
                    </div>
                    <div class="text-center bg-green-50 rounded-lg p-3">
                        <div class="text-xl font-bold text-green-600">156</div>
                        <div class="text-sm text-gray-500">本月订单</div>
                    </div>
                    <div class="text-center bg-blue-50 rounded-lg p-3">
                        <div class="text-xl font-bold text-blue-600">1,248</div>
                        <div class="text-sm text-gray-500">总订单</div>
                    </div>
                </div>
                
                <!-- 绑定客户统计 -->
                <div class="bg-purple-50 rounded-lg p-4 mb-6">
                    <h3 class="text-lg font-medium text-purple-800 mb-3">客户关系管理</h3>
                    <div class="grid grid-cols-2 gap-4">
                        <div class="text-center">
                            <div class="text-2xl font-bold text-purple-600">89</div>
                            <div class="text-sm text-gray-500">绑定客户</div>
                        </div>
                        <div class="text-center">
                            <div class="text-2xl font-bold text-purple-600">76%</div>
                            <div class="text-sm text-gray-500">复购率</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 功能菜单 -->
            <div class="px-6">
                <div class="space-y-3">
                    <div class="flex items-center justify-between p-4 bg-white rounded-lg shadow-sm" onclick="viewOrders()">
                        <div class="flex items-center">
                            <div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
                                <svg class="w-5 h-5 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"/>
                                </svg>
                            </div>
                            <div>
                                <div class="font-medium">订单管理</div>
                                <div class="text-sm text-gray-500">查看和管理客户订单</div>
                            </div>
                        </div>
                        <svg class="w-5 h-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
                        </svg>
                    </div>
                    
                    <div class="flex items-center justify-between p-4 bg-white rounded-lg shadow-sm" onclick="viewCustomers()">
                        <div class="flex items-center">
                            <div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center mr-3">
                                <svg class="w-5 h-5 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"/>
                                </svg>
                            </div>
                            <div>
                                <div class="font-medium">客户管理</div>
                                <div class="text-sm text-gray-500">管理绑定客户关系</div>
                            </div>
                        </div>
                        <svg class="w-5 h-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
                        </svg>
                    </div>
                    
                    <div class="flex items-center justify-between p-4 bg-white rounded-lg shadow-sm" onclick="viewCommission()">
                        <div class="flex items-center">
                            <div class="w-10 h-10 bg-yellow-100 rounded-lg flex items-center justify-center mr-3">
                                <svg class="w-5 h-5 text-yellow-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                                </svg>
                            </div>
                            <div>
                                <div class="font-medium">佣金明细</div>
                                <div class="text-sm text-gray-500">查看佣金收入详情</div>
                            </div>
                        </div>
                        <svg class="w-5 h-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
                        </svg>
                    </div>
                    
                    <div class="flex items-center justify-between p-4 bg-white rounded-lg shadow-sm" onclick="viewProducts()">
                        <div class="flex items-center">
                            <div class="w-10 h-10 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
                                <svg class="w-5 h-5 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
                                </svg>
                            </div>
                            <div>
                                <div class="font-medium">产品推广</div>
                                <div class="text-sm text-gray-500">管理推广产品和链接</div>
                            </div>
                        </div>
                        <svg class="w-5 h-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
                        </svg>
                    </div>
                    
                    <div class="flex items-center justify-between p-4 bg-white rounded-lg shadow-sm" onclick="viewSettings()">
                        <div class="flex items-center">
                            <div class="w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center mr-3">
                                <svg class="w-5 h-5 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
                                </svg>
                            </div>
                            <div>
                                <div class="font-medium">设置</div>
                                <div class="text-sm text-gray-500">个人信息和系统设置</div>
                            </div>
                        </div>
                        <svg class="w-5 h-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
                        </svg>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        /**
         * 查看订单管理
         */
        function viewOrders() {
            alert('跳转到订单管理页面');
            // 实际应用中跳转到: window.location.href = 'salesperson_orders.html';
        }
        
        /**
         * 查看客户管理
         */
        function viewCustomers() {
            alert('跳转到客户管理页面');
            // 实际应用中跳转到: window.location.href = 'salesperson_customers.html';
        }
        
        /**
         * 查看佣金明细
         */
        function viewCommission() {
            alert('跳转到佣金明细页面');
            // 实际应用中跳转到: window.location.href = 'salesperson_commission.html';
        }
        
        /**
         * 查看产品推广
         */
        function viewProducts() {
            alert('跳转到产品推广页面');
            // 实际应用中跳转到: window.location.href = 'salesperson_products.html';
        }
        
        /**
         * 查看设置
         */
        function viewSettings() {
            alert('跳转到设置页面');
            // 实际应用中跳转到: window.location.href = 'salesperson_settings.html';
        }
    </script>
</body>
</html>